
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 商品类型
    /// </summary>
    public partial class ProductTypeInfo:BaseModel
    {
        public ProductTypeInfo() { }

        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 类型名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 是否支持颜色规格
        /// </summary>
        public bool IsSupportColor { get; set; }
        /// <summary>
        /// 是否支持尺寸规格
        /// </summary>
        public bool IsSupportSize { get; set; }
        /// <summary>
        /// 是否支持版本规格
        /// </summary>
        public bool IsSupportVersion { get; set; }
        /// <summary>
        /// 是否已删除
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 颜色别名
        /// </summary>
        public string ColorAlias { get; set; }
        /// <summary>
        /// 尺码别名
        /// </summary>
        public string SizeAlias { get; set; }
        /// <summary>
        /// 规格别名
        /// </summary>
        public string VersionAlias { get; set; }
    
        public virtual ICollection<AttributeInfo> AttributeInfo { get; set; } = new HashSet<AttributeInfo>();
        public virtual ICollection<CategoryInfo> CategoryInfo { get; set; } = new HashSet<CategoryInfo>();
        public virtual ICollection<SpecificationValueInfo> SpecificationValueInfo { get; set; } = new HashSet<SpecificationValueInfo>();
        public virtual ICollection<TypeBrandInfo> TypeBrandInfo { get; set; } = new HashSet<TypeBrandInfo>();
    }
}
